﻿@model WarSpot.WebFace.Models.ViewAccountModel

<div>
	@Html.DisplayNameForModel()  
</div>
@using (Html.BeginForm())
{
	<fieldset>
		<div class="editor-label">@Html.LabelFor(m => m.Id)</div>
		<div class="editor-field">@Html.DisplayFor(m => m.Id)</div>
		<div class="editor-label">@Html.LabelFor(m => m.UserName)</div>
		<div class="editor-field">@Html.TextBoxFor(m => m.UserName)</div>
		<div class="editor-label">@Html.LabelFor(m => m.Name)</div>
		<div class="editor-field">@Html.TextBoxFor(m => m.Name)</div>
		<div class="editor-label">@Html.LabelFor(m => m.SurName)</div>
		<div class="editor-field">@Html.TextBoxFor(m => m.SurName)</div>
		<div class="editor-label">@Html.LabelFor(m => m.Institution)</div>
		<div class="editor-field">@Html.TextBoxFor(m => m.Institution)</div>
		<div class="editor-label">@Html.LabelFor(m => m.Course)</div>
		<div class="editor-field">@Html.TextBoxFor(m => m.Course)</div>
		<div class="editor-label">@Html.LabelFor(m => m.Email)</div>
		<div class="editor-field">@Html.TextBoxFor(m => m.Email)</div>
		<div class="editor-label">@Html.LabelFor(m => m.Roles)</div>
		<div class="editor-field">
	    <table>
		    @Html.EditorFor(m => m.Roles)
	    </table>
    </div>
    <input type="submit" value="Сохранить" />
		<!--  
			Html.ActionLink("Удалить", "Delete") 
      -->
    @Html.ActionLink("Назад", "Index")
    
	</fieldset>
}